package io.unicorn.modules.water.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * ${comments}
 * 
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2022-01-20 20:04:07
 */
@Data
//@TableName("T_Pro_data")
public class ProDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId
	private String unkey;
	private String proName;
	private String clientId;
	private String clientName;
	private String clientAddress;
	private String deviceId;
	private String deviceAddress;
	private String typeName;
	private String deviceStatus;
	private Integer statusCode;
	private Date nowDate;
	private BigDecimal nowData;
	private String memo1;
	private String imei;
	private String hourseNum;
	private String warrantyStart;
	private String recordOnSpot;
	private String memo2;

	public static Map<String, String> getHeadName(){
		Map<String, String> headMap = new LinkedHashMap<String, String>();
/*
*
客户编号
客户姓名
客户地址
设备地址
仪表类型
仪表状态
采集日期
采集数据
户号
质保开始日期
现场记录
IMEI
备注

* */
		headMap.put("clientId","表卡编号");
		headMap.put("clientName","客户名字");
		headMap.put("clientAddress","客户地址");
		headMap.put("deviceAddress","设备地址");
		headMap.put("typeName","仪表类型");
		headMap.put("deviceStatus","仪表状态");
		headMap.put("nowDate","采集日期");
		headMap.put("nowData","采集数据");
		headMap.put("hourseNum","户号");
		headMap.put("warrantyStart","质保开始日期");
		headMap.put("recordOnSpot","现场记录");
		headMap.put("imei","IMEI");
		headMap.put("memo1","备注");
		headMap.put("memo2","备注");
		headMap.put("proName","小区名称");
		headMap.put("deviceId","设备号");
		headMap.put("statusCode","状态码");

		return headMap;
	};

}
